﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace WaterRevenueMS.Domain.ViewModels.ReadMeterMS.MeterRecord
{
    public class MeterRecordModel
    {
        public MeterRecordModel()
        {
            Search = new SearchModel();
        }

        public int id { get; set; }
        
        public string CustomerName { get; set; }

        public string Yi_BBH { get; set; }
        public float Du_SBC { get; set; }
        public string Yi_BZT { get; set; }
        public string Kong_ZZT { get; set; }
        public DateTime Chao_BDT { get; set; }

    

        public SearchModel Search { get; set; }
    }

    public class SearchModel
    {
        public SearchModel()
        {

        }

        public string CustomerName { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime? StartTime { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime? EndTime { get; set; }
    }
}
